home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-06-23 | 1.0 KB | 23 lines | [TEXT/CWIE] |
- This code is skanky, but only because there's lots of legacy junk in there that
- I didn't get around to cleaning up. Lots of stuff will seem bizarre, but there
- are probably good historical reasons for it. Of course, you don't know the history,
- but trust me.
-
- The techniques are clean, though, no patching or other ugliness.
- Apple's DrawSprocket is used to simulate the Finder screen, and the
- scriptable Finder is queried to get the icons and positions and so on (which
- is why it takes so long to start up). The flocking algorithm is based on a
- paper presented at Siggraph several years ago by Craig Reynolds.
-
- -FinderFlocks II improvements:
- it works with small icons too, it handles the case where an icl8 isn't
- available, and they all go home when you quit.
-
- -How to use it:
- Put the app in a finder window with 100 or less items in it. Make sure the window is
- view-by-icon or view-by-small-icon, and is open all the way, with all items visible.
- Launch the app. Wait a while. Funky. Command-anything will quit.
-
- Dave Johnson
- dkj@apple.com
- 6/96